package com.sevens.dao;

import java.util.List;

import com.sevens.vo.News;
import com.sevens.vo.Resource;

public interface ResourceDao {
	
	
	public Resource saveResource(Resource resource);

	public List<Resource> queryAllResource();
	
	public List<Resource> queryResource(Resource resource);

	public boolean deleteResource(Resource resource);

	public boolean deleteResourceById(int resourceId);

	public boolean editResource(Resource resource);

	public Resource queryResourceById(int resourceId);

	
}
